package com.tiancheng.trade.order.vo.admin.res;

import com.tiancheng.trade.commom.core.data.PageInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * @Auther: liudong
 * @Date: 2024/4/2 14:49
 * @Param ${tags}
 * @Description:
 */
@Setter
@Getter
@ToString
public class RefundResVO {
	/**
	 * 退款id
	 */
	private String refundId;
	/**
	 * 退款单号
	 */
	private String paymentId;
	/**
	 * 退款流水号
	 */
	private String flowId;
	/**
	 * 对应的支付流水号
	 */
	private String payFlowId;
	/**
	 * 子订单号
	 */
	private String subOrderId;
	/**
	 * 业务渠道来源
	 */
	private String orderSource;
	private String orderSourceCN;
	/**
	 * 商户编码
	 */
	private String merchantCode;
	/**
	 * 商户名称
	 */
	private String merchantName;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createdDt;

	/**
	 * 退款时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime refundTime;

	private PageInfo.Pagination pagination;

	/**
	 * 申请退款金额
	 */
	private Integer refundApplyAmount;
	/**
	 * 实际退款金额
	 */
	private Integer refundAmount;
	/**
	 * 退款状态
	 */
	private String refundStatus;
	private String refundStatusCN;
	/**
	 * 用户id
	 */
	private String uid;
}
